var j=1;
function addCampo() {
	
	var numtel=document.usuario.telefone0.value;
	mascara="'## ####-###'";
	
	if(j<3){
	var part1="</br><input type='text' onkeypress=\"formatar_mascara(this,"+mascara+")\" name='telefone";
	var part2="' maxlength='12' value='"
	var part3="'/><label>Tipo: </label><select name='tipotelefone";
	var part4="' ><option value='Celular'>Celular</option><option value='Residencia'>Resid&ecirc;ncia</option><option value='Trabalho'>Trabalho</option><option value='Contato'>Contato</option></select>";

	document.getElementById("duplicaCampo").innerHTML += part1+j+part2+numtel+part3+j+part4;
	j++;	
}else{
	window.alert("Somente podem ser cadastrados 03 telefones!!!");
}
	

}